home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / docs / lwml9505.lha / LWMLO9505.TXT / 000020_owner-lightwave-l _Mon May 1 20:39:41 1995.msg < prev    next >
Internet Message Format  |  1995-06-03  |  7KB

  1. Return-Path: <owner-lightwave-l>
  2. Received: by mail2.netcom.com (8.6.12/Netcom)
  3.     id PAA22394; Mon, 1 May 1995 15:53:13 -0700
  4. Received: from server.globalone.net by mail2.netcom.com (8.6.12/Netcom)
  5.     id PAA22297; Mon, 1 May 1995 15:51:57 -0700
  6. From: davewarner@globalone.net
  7. Received: from shell.globalone.net (davewarner@shell.globalone.net [198.69.121.31]) by server.globalone.net (8.6.9/8.6.9) with SMTP id SAA00756 for <lightwave-l@netcom.com>; Mon, 1 May 1995 18:52:17 -0400
  8. Date: Mon, 1 May 1995 18:52:16 -0400
  9. Subject: Re: Looping Brush effect?
  10. To: LightWave Mail List <lightwave-l@netcom.com>
  11. In-Reply-To: <9504291918.5dj0@nesbbx.rain.COM>
  12. Message-ID: <Pine.3.89.9505011711.J16503-0100000@shell.globalone.net>
  13. MIME-Version: 1.0
  14. Content-Type: TEXT/PLAIN; charset=US-ASCII
  15. Sender: owner-lightwave-l@netcom.com
  16. Precedence: bulk
  17.  
  18.  
  19.  
  20. On Sat, 29 Apr 1995, Thomas Healy wrote:
  21.  
  22. > I'm trying to figure out how to do a "Looping Anim-Brush" effect in LW
  23. > like you can do in Dpaint.  I.E.: I have a 60 frame loop of a walking figure 
  24. > and I want to incorperate it into a longer Animation where the figure walks
  25. > through a room and out.  What I'm looking to do is like what you can do in
  26. > Dpaint.  Take a "Anim-Brush" and loop it within the Animation.  Is there a
  27. > way to do this in LW? The closest thing I can figure is to manipulate the
  28. > motion path of the walking figure.  Anyone have any Sugestions??
  29.  
  30. Hmmm...I'm not sure if you're asking about looping the movements of an 
  31. object or using a looping image sequence within your LightWave animation,
  32. so I'll cover both!
  33.  
  34. To make an object repeat it's movements throughout a scene, simply select 
  35. that object's Motion graph by pressing 'M' and then click on the Repeat key.
  36. Whatever motion you've defined for that object will repeat throughout the 
  37. entire animation.  Please note though, that if you've animated the object 
  38. using Bones, then you'll need to click on Repeat for each bone's motion 
  39. graph.
  40.  
  41. Now, if you want to use an "anim-brush" within a LightWave animation, the 
  42. looping anim brush will need to be saved as individual sequential images 
  43. (an Image Sequence).  So, load your anim brush into DPaint, and save it 
  44. as an image sequence...when you select the Save Picture option, you'll 
  45. see "From" and "To" fields, which should be set to the first frame for 
  46. "From" (usually 1) and the last frame for "To"...when you click Save, 
  47. DPaint will save your image sequence by appending the appropriate frame 
  48. number onto the save file name.  So you've saved the actual image sequence
  49. you'll need for brush mapping, but you still need to save an Alpha image 
  50. sequence to use for clip mapping, so go into the palette menu and change 
  51. all the colors (except for the black background) to solid bright white 
  52. (values of 15,15,15)...so you'll now have an animation of a white shape 
  53. against a black background.  Save this image sequence the same way you 
  54. did before but use a slightly different filename and maybe a different 
  55. directory.  You now have two sets of image sequences which you will then 
  56. map onto an object in LightWave.
  57.  
  58. Enter LightWave and then Modeler...select the Box tool and draw a 
  59. rectangle in the X/Y view that's maybe 6 units wide by 4 units high.  
  60. Click Make.  Select Polygon from the TOP of the screen and then click the 
  61. Surface button on the left side of the screen...type in an appropriate 
  62. surface name for the rectangular polygon you just made(ex:plane).  Select 
  63. Object from the top of the screen and Export this object as whatever you 
  64. want to call it (ex:plane.lwob).  Go back to LightWave's Layout screen.
  65.  
  66. Select Images from the top of the screen and click on Load Image Sequence,
  67. find the first image sequence you saved from Dpaint and click on one of 
  68. the frames...then remove the last three number from the filename and 
  69. press enter (so if the image filename is "FRED.004", you should have 
  70. entered "FRED.")...no image will be loaded just yet, but LightWave knows 
  71. where to look for it when it's ready....next you want to click on Loop 
  72. Sequence and enter the number of frames in the image sequence.  Now do 
  73. the exact same thing for the second image sequence you saved from DPaint 
  74. but use the different filename/directory you saved the second image 
  75. sequence under.
  76.  
  77. Next, select the Surfaces menu and find the polygon surface name you 
  78. selected for your object (ex:plane)...click the little T button (for 
  79. Texture) next to the Color selector window...you'll see Planar Image Map, 
  80. which is what we'll use here, and a bar under it that says "None"...put 
  81. the mouse pointer on the bar with "None" in it, hold down the left mouse 
  82. button and find the first image sequence you loaded into LW.  Click the 
  83. "Z" axis button and then click Automatic Sizing, also click okay when the 
  84. Automatic Sizing warning appears.  Then click on Use Texture at the 
  85. bottom of the screen.
  86.  
  87. Next, select the Objects menu and find the name of the object you 
  88. exported from Modeler...click the "T" (Texture) button next to Clip Map.
  89. Select the second image sequence you loaded into LW, set it for the Z 
  90. axis and hit the Automatic Sizing button like you did for the first image 
  91. sequence under the Surfaces menu...last, click on the Negative Image 
  92. button.  Clip Mapping will cut out any parts of an object that have white 
  93. mapped onto it, so everywhere there was black in your Alpha image 
  94. sequence will now be white (Negative) and your object will be cut out to 
  95. match these areas of white.  Click Use Texture and then save your objects 
  96. and this scene.
  97.  
  98. Whew!  You're ready to render now....what you should end up with when you 
  99. render is the image of your anim brush on a flat "cardboard cutout" object.
  100. Since you selected Loop Sequence, the images used for brush mapping and 
  101. clip mapping will automatically repeat throughout the length of you 
  102. animation.  You can then move the object through the scene, thus 
  103. mimicking DPaint's Move function.  
  104.  
  105. This technique would be especially useful if you had an image sequence of 
  106. a person running or swimming...you could move the object across the 
  107. screen and it would look as if the person were running or swimming across 
  108. the screen...you could then add objects in front of and behind this 
  109. person and get a nice layering effect.  =)
  110.  
  111.  
  112. If you have any questions about what I've described above, then ask away...
  113.  
  114.  
  115.                                       -David Warner
  116.                                        Event Horizon Graphics
  117.